﻿using System;
using ProjScan.Config;
using ProjScan.Config.GUIConfig;
using ProjScan.Modules;
using ProjScan.Tools;
using UnityEngine;

namespace ProjScan.ScanGUI.Page
{
	// Token: 0x0200026D RID: 621
	internal class GlobalSettingsCheckPage : BasePage<GlobalSettingsConfig>
	{
		// Token: 0x060010B2 RID: 4274 RVA: 0x00008277 File Offset: 0x00006477
		public GlobalSettingsCheckPage()
		{
			this.pageId = "Global_Settings_Check";
			this.pageName = "全局设置项检查";
			this.fixModule = Module.Global_Settings_Fix;
		}

		// Token: 0x060010B3 RID: 4275 RVA: 0x0000829F File Offset: 0x0000649F
		public override void Init()
		{
			this.dicRuleInfo = Singleton<RuleInfoManager>.Instance.dicRuleInfoByPage["3"];
			this.CreateRuleGUI();
		}

		// Token: 0x060010B4 RID: 4276 RVA: 0x000082C3 File Offset: 0x000064C3
		public override void OnGUI(Rect mainRectangle)
		{
			this.rect = mainRectangle;
			this.GUITitle(true);
			GUITools.DrawSeparator(ScanSettingWindow.I.pageWidth - 20f);
		}
	}
}
